package cn.jiedh.app.meiweidk.login.utils;

public class NumUtil {

    public static String NumberFormat(float f,int m){
        return String.format("%."+m+"f",f);
    }

    public static float NumberFormatFloat(float f,int m){
        String strfloat=NumberFormat(f,m);
        return Float.parseFloat(strfloat);
    }

}
